package com.itheima.springbootwebtest.mapper;

import com.itheima.springbootwebtest.pojo.OperationLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * 日志 Mapper
 *
 * @Author mr.luo
 * @Date 14 4月 2025 16:42
 */
@Mapper
public interface LogMapper {

    @Insert("insert into operate_log values " +
            "(null,#{operateEmpId},#{operateTime},#{className},#{methodName},#{methodParams},#{returnValue},#{costTime},#{operationType})")
    void addLog(OperationLog operationLog);
}
